package hu.blok1.veilingsite.server;

import java.sql.Date;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;


public class Logger {

	public static void Log(String category, String message) {

		DBConnector.SendStatement("INSERT INTO Logs VALUES('" + category
				+ "','" + message + "', systimestamp)");
		DBConnector.CloseStatement();
		DBConnector.CloseConnection();
	}
}
